package admin.redis.submit.annot;

import java.lang.annotation.*;

/**
 * @author zgb
 * @date 2024-01-25 16:27
 * @description TODO
 */
@Inherited
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface PreventRepeatSubmit {

    int interval() default 500;

    String message() default "Don't submit repeatly";

}
